//引入express
const express =require("express")
//引入router
const router=require("./04.router")

//创建服务器
const app=express()
//注册router
app.use('/info',router)


//开启服务器监听
app.listen(80,()=>{
    console.log("running at http://127.0.0.1")
})